package designPatterns.com.course_design.scrapy.util;


public class ThreadSleep {
    final public static float sleepOptimization = 0.02f;
    public static void sleepSeconds(float n){
        try {
            Thread.sleep((int)(n*1000));
//            System.out.println("sleep...");
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}
